package day06;

/**
 * @author zdl
 * @date 2024/11/8
 */

import java.util.Arrays;

/**
 * 数组练习
 */
public class Demo1 {
    public static void main(String[] args) {
        double[]  d= new double[3];
        d[0] =1;
        d[1] =3;
        d[2] =8;
        System.out.println(Arrays.toString(d));

        String[]  s = new String[2];
        s[0] = "张三丰";
        s[1] = "狮子王";
        System.out.println(Arrays.toString(s));
 
        int[] arr = {1,23,44};
        System.out.println(Arrays.toString(arr));
        arr[0] = 99999;
        System.out.println(Arrays.toString(arr));
    }
}
